package com.welab.springcloud.demo.api.fallback;

import com.welab.springcloud.demo.api.UserApi;
import com.welab.springcloud.demo.dto.ResponseResult;
import com.welab.springcloud.demo.dto.User;
import org.springframework.stereotype.Component;

@Component
public class UserApiFallback implements UserApi {

    @Override
    public ResponseResult<User> getUser(Integer userId) {
        return null;
    }

}
